package com.liu.annotation_IOC;

import java.util.HashMap;

/**
 * @Author: 刘浩然
 * @Date: 2021/6/21 17:56
 */
public class IOCContainer {
    private static HashMap container = new HashMap();
    public static void putBean(String id,Object object){
        container.put(id,object);
    }
    public static Object getBean(String id){
        return container.get(id);
    }

}
